<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>first one layui</title>
  <link rel="stylesheet" href="../layui/css/layui.css">
</head>
<body>
 
 
 
 <form action="/tfy/getFileUploadFileName" method="post" enctype="multipart/form-data">
        <label>上传图片</label>
        <input type="file" name="file"/>
        <input type="submit" value="上传"/>
    </form>
    <p>图片:</p>
   
   
 
 
  
<script src="../layui/layui.js"></script>
<script>

</script> 
</body>
</html>